package com.example.retrofitdemo_618lw.activities;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import com.example.retrofitdemo_618lw.R;

public class Main2Activity extends AppCompatActivity {
    private EditText etn,etp,etq,etd;
    private Button signin;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);

        initviews();
    }

    private void initviews(){

        signin=findViewById(R.id.button4);
        etn=findViewById(R.id.editText);
        etp=findViewById(R.id.editText4);
        etq=findViewById(R.id.editText5);
        etd=findViewById(R.id.editText2);

        signin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent =new Intent(Main2Activity.this,
                        MainActivity.class);
            }
        });
    }
}
